<!--首页样式-->
<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/common_31.css-v=2016.css" tppabs="" media="all" />
<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/dczd_style_32.css-v=2016.css" tppabs="" media="all" />
<link href="${root_path}images/favicon.ico?v=2016" rel="shortcut icon">
<!--列表样式-->
<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/common_31.css-v=2016.css" media="all" />
<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/dczd_style_32.css-v=2016.css" media="all" />
<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/page_44.css-v=2016.css" media="all" />
<!--二级列表样式-->
<!--<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/common_31.css-v=2016.css" media="all" />
<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/dczd_style_32.css-v=2016.css" media="all" />
<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/page_44.css-v=2016.css" media="all" />
<link href="../images/favicon.ico?v=2016" rel="shortcut icon">-->
<!--细缆样式-->
<!--<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/common_31.css-v=2016.css" tppabs="" media="all" />
<link rel="stylesheet" type="text/css" href="${root_path}qtlm/css/dczd_style_32.css-v=2016.css" tppabs="" media="all" />
<link href="${root_path}images/favicon.ico?v=2016" rel="shortcut icon">-->
<SCRIPT language=javascript>
        function showDate() {
            var today = new Date();
            date = today.getDate();
            month = today.getMonth();
            month = month + 1;
            if (month <= 9)
                month = "0" + month;
            year = today.getYear();
            if (year < 1900) {
                year = year + 1900;
            }
            var nowDate = year + '-' + month + '-' + date;
//Firefox下的兼容处理
            var nowDate = year + '-' + month + '-' + date;
            document.write( year + "年" + (today.getMonth() + 1) + "月" + today.getDate() + "日");
            switch (today.getDay()) {
                case 0:
                    document.write("  星期日");
                    break;
                case 1:
                    document.write("  星期一");
                    break;
                case 2:
                    document.write("  星期二");
                    break;
                case 3:
                    document.write("  星期三");
                    break;
                case 4:
                    document.write("  星期四");
                    break;
                case 5:
                    document.write("  星期五");
                    break;
                case 6:
                    document.write("  星期六");
                    break;
            }
            document.write("");
        }
    </script>
	
	<script>
function beforeSubmit(){
  var searchKey=$("#SearchKey").val();
   var j_wd = $("#wd");
    	    wd = $.trim(j_wd.val());
    	    if(wd == ""){
    	        alert("请输入查询关键词");
    	         return false;
    	    } 
             if(searchKey=="0"){   		
	           $("#seach").attr("action","http://10.142.186.183:8081/sought/search/result.htm");	 
	 
               }else{       
                 $("#seach").attr("action","wcm/search/search.jsp.htm"/*tpa=http://10.142.186.180/wcm/search/search.jsp*/);
             }
     
}

</script>
<script type="text/javascript" src="${root_path}js/dhtml.js" tppabs=""></script>
<style>
    body{
          background-color: rgb(237, 248, 254);
          background-image: url(${root_path}images/bj2.png);
          background-repeat: no-repeat;
          background-repeat: repeat-x;

    }
    .nav li {
       width: 7.6%;
    }
    <!--下拉菜单样式开始-->
     .mtDropdownMenu {LEFT: -1000px; OVERFLOW: hidden; POSITION: absolute; TOP: -1000px;}
     .mtDropdownMenu .content {	POSITION: absolute}
     .mtDropdownMenu .items {	BORDER: #999 0px solid; Z-INDEX: 2; LEFT: 0px; POSITION: relative; TOP: 0px}
     .mtDropdownMenu .item {		BORDER-RIGHT: medium none; BORDER-TOP: medium none; FONT-SIZE: 12px; BORDER-LEFT: medium none; CURSOR: hand; COLOR: #ffffff; BORDER-BOTTOM: medium none; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none;}
     .mtDropdownMenu .background {	Z-INDEX: 1; LEFT: 0px; POSITION: absolute; TOP: 0px; moz-opacity: .9;opacity:0.9;FILTER: alpha(opacity=90)}
     .mtDropdownMenu .shadowRight {	Z-INDEX: 3; FILTER: alpha(opacity=40); WIDTH: 2px; POSITION: absolute; TOP: 3px; moz-opacity: .4;opacity:0.4}
     .mtDropdownMenu .shadowBottom {	Z-INDEX: 1; FILTER: alpha(opacity=40); LEFT: 3px; POSITION: absolute; HEIGHT: 2px; moz-opacity: .4;opacity:0.4}
     .mtDropdownMenu .hover {	BACKGROUND: #ffffff; COLOR: #0768EB;cursor:pointer;}
     .mtDropdownMenu .item IMG {	MARGIN-LEFT: 10px}
     .mtDropdownMenu{POSITION: absolute;}

     .content{top:15px !important;}
     .nav_warp{
	      background-size:100% 100%;
          width: 1162px;
          margin: 0 auto;
	  }
     .cityP>a{
         font-weight: inherit !important;
         font-size:14px !important;
         font-family: "Microsoft YaHei UI" !important;
      }
    <!--下拉菜单样式结束-->

    .subA{
       color:black !important;
    }
	
	.date{
		float:right;
		margin-right:10px;
	}
	
	.hearder{
              background:#fff0 !important;
			      border-bottom: none;
    border: 1px solid #829dc333;
    border-top: none;
    width: 1160px;
    margin: 0 auto;
	}
	.search_wechat{
		position: relative;
		text-align: right;
	}
	
	.search_wechat img{
		margin-right: 5px;
	}
	
	.qrcode{
		padding: 5px;
		margin-top: -10px;
		right: 0;
		top: 50px;
		display: none;
		background: #fff;
		border-radius: 5px;
		position: absolute;
		box-shadow: 0px 0px 24px #6cabd0;
                z-index: 999;
	}
	.search_box{
		margin-top: 10px;
	}
	.qrcode img{
		display: block;
		width: 140px;
		margin: 0 auto;
	}
	.search_wechat a{
		color: #666;
	}
	.clumn{
		overflow:visible;
	}
	.logo_warp{
		overflow:visible; 
	}
	.emb{
	   display: block;margin: 0 auto;
	}
	.search_wechat{
	   width: 100px;
       text-align: center !important;
       float: right;
       margin-right: 10px;
	}
	#seach{
       width: auto;
       display: block;
       float: left;
       height: auto;
       margin-top: 4px;
	   margin-left:10px
	}
	.search_box{
	   margin-top: 0;
	}

.nav li a:hover{
    font-size: 18px;
}
</style>

<!--第一部分-->
<div class="logo_warp" style="min-width:1160px;height:240px;padding:0;background-image: none">
   <embed class="emb" src="${root_path}images/topbg2.swf" quality="high" pluginspage="" type="application/x-shockwave-flash" width="1160" height="240" wmode="transparent">



</div>
<!--第二部分-->
<div class="nav_warp" style="overflow:visible">
   <ul class="clumn nav" style="overflow:visible">
       <li id="mainNav"><a id="menu" href="${root_path}index.html">网站首页</a></li>
       <TRS_CHANNELS ID="SITE" startpos="0" num="11">
            <li id="mainNav<trs_channel id="owner" field="channelid" />" class="<trs_channel autolink="false"></trs_channel>"><a id="menu<trs_channel id="owner" field="channelid" />" href="_self" target="_blank"><TRS_CHANNEL EXTRA="CLASS='dh-font01'" autolink="true"></TRS_CHANNEL></a></li>
       </TRS_CHANNELS>
       <li id="mainNav1">
           <a id="menu1" href="javascript:void(0);" target=""><trs_channel id="子站" autolink="false"></trs_channel></a>
           <!--子站导航菜单开始-->
            <style>
                .city{color:white;border: 1px solid white;border-top: none;height: 40px;line-height: 40px;border-left:  none;border-right:  none;cursor:pointer}
                .city:hover{background-color:#007dfe;}
                .subcity{border: 1px solid #00000021;border-top: none;height: 40px;line-height: 40px;border-left:  none;border-right: none;cursor:pointer;color:black}
                .subcity:hover{background-color:#007dfe;}
                .subNavDiv{border:1px solid #8080804a;float:left;width:200px;height:auto;position:absolute;background:white;border-bottom:none;display:;right:200px;}
            </style>
            <div class="allDiv" style="width:404px;height:600px;margin-left:-298px;">
                
               <div class="navDiv" style="border:1px solid #0000ff36;float:right;width:200px;height:100%;background:#0097fe;position:relative;display:none;z-index: 999;">
                  <trs_channels id="子站" startpos="0" >
                       <div class="city"><p class="cityP"><trs_documents id="owner" startpos="0" num="1"><trs_document field="doctitle" CLASSNAME="" autolink="true" TARGET='_blank'></trs_document></trs_documents></p></div>
                  </trs_channels>
               </div>

             </div>  
             <script>
                $("#menu1").click(function(e){
                   if($(".navDiv").is(":hidden")){
                      $(".navDiv").show(100);
                      e.stopPropagation();
                   }else{
                      $(".navDiv").hide();
                   }
                });

                $("body").click(function(){
                   $(".navDiv").hide();
                   $(".subNavDiv").hide();
                });

                var p ;
                $(".cityP").mouseover(function(){
                        p = $(this)[0].textContent;
                        
                })
                $(".city").mouseover(function(){
                  p = $.trim(p);
                  $(this).prepend(getCity(p));
                })
                
                $(".subcity").mouseover(function(){
                   $(".subNavDiv").show();
                })                


                $(".city,.subcity").mouseleave(function(){
                   $(".subNavDiv").hide();
                })
                function getCity(cityName){                  
                   var templ;
                   if(cityName == "南宁调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='南宁市_1297' startpos='1'><div class='subcity'>"+   
                                    "<a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a>"+
                                    "</div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "柳州调查队"){
                        templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='柳州市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "桂林调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='桂林市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "梧州调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='梧州市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                        
                   }
                   if(cityName == "北海调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='北海市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "防城港调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='防城港市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "钦州调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='钦州市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "贵港调查队"){
                          templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='贵港市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "玉林调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='玉林市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "百色调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='百色市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "贺州调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='贺州市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "河池调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='河池市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "来宾调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='来宾市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   if(cityName == "崇左调查队"){
                         templ = "<div class='subNavDiv'>"+
                                    "<trs_documents id='崇左市' startpos='1'><div class='subcity'><a class='subA' style='color:black;font-weight: inherit !important;font-size: 14px !important;font-family: 'Microsoft YaHei UI' !important;' href='<trs_document field='_recurl'/>'><trs_document field='doctitle' autolink='false'/></a></div></trs_documents>"+
                                "</div>";
                   }
                   return templ;
                }
                function truna(a){
                   alert(a);
                }                

                function getUrl (){
                    var url = "<trs_documents id='南宁市_1297' startpos='0' num="1"><trs_document field='_recurl'></trs_document></trs_documents>";
                    return url;  
                }

            </script>


           <!--子站导航菜单结束-->
       </li>
        
   </ul>
</div>

<!--第三部分-->
<div class="hearder" style="">
   <div class="clumn">
      <span class="date" style='font-size:13px;'><script language="JavaScript" type="text/JavaScript">showDate();</script></span>
      <!--微信二维码-->
	  <div class="search_wechat">
          <a id="weChat" style="cursor: pointer;z-index: 100;"><img src="${root_path}images/wechat_ico.png" style="width:25px" />微信公众号</a>
          <div class="qrcode" id="qrCode" style="display: none;">
            <img src="${root_path}images/ewm.jpg" width=150px, /> 
          </div>
        </div>
	  <!--搜索栏-->
      <form id="seach" name="searchform" class="seach" action="/search" method="get" target="_blank" onsubmit="document.charset='utf-8';">
      <div class="search_box" style="">
        <input type="text" value="请输入关键字" name="q" id="wd" onclick="this.value=''" class="wd" />
        <input name="sid" type="hidden" value="4" />
       <input src="${root_path}images/search_btn.jpg" tppabs="" type="image" onclick="" style='margin-top: 0;float: right;' />
      </div>
      </form>

   </div>
</div>
<script>
//wechat
$(function(){
            $("#weChat").mouseover(function(){
                $("#qrCode").show();  //隐藏
            })
            $("#weChat").mouseout(function(){
                $("#qrCode").hide();  //显示
            })
});
</script>